You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tel:27682' class='c-bl pc-link'>.27682.jpg'' at line 1
SELECT id FROM `SC_errorPageLog` WHERE ip = '18.118.162.128' AND page = '/published/publicdata/SAJTZONASPORTA/attachments/SC/images/obivka<a href='tel:27682' class='c-bl pc-link'>.27682.</a>jpg'